/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.oimwrapper.testers.models;

/**
 *
 */
public class OIMField {
    
    private String resourceName;
    private String requestType;
    private String parentTableName;
    private String childTableName;
    private String columnName;
    private String columnType;
    private String columnOptional;
    private String fieldLabel;

    public String getChildTableName() {
        return childTableName;
    }

    public void setChildTableName(String childTableName) {
        this.childTableName = childTableName;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    
    public String getColumnOptional() {
        return columnOptional;
    }

    public void setColumnOptional(String columnOptional) {
        this.columnOptional = columnOptional;
    }

    public String getColumnType() {
        return columnType;
    }

    public void setColumnType(String columnType) {
        this.columnType = columnType;
    }

    public String getFieldLabel() {
        return fieldLabel;
    }

    public void setFieldLabel(String fieldLabel) {
        this.fieldLabel = fieldLabel;
    }

    public String getParentTableName() {
        return parentTableName;
    }

    public void setParentTableName(String parentTableName) {
        this.parentTableName = parentTableName;
    }

    public String getRequestType() {
        return requestType;
    }

    public void setRequestType(String requestType) {
        this.requestType = requestType;
    }

    public String getResourceName() {
        return resourceName;
    }

    public void setResourceName(String resourceName) {
        this.resourceName = resourceName;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final OIMField other = (OIMField) obj;
        if ((this.fieldLabel == null) ? (other.fieldLabel != null) : !this.fieldLabel.equals(other.fieldLabel)) {
            return false;
        }
        if ((this.resourceName == null) ? (other.resourceName != null) : !this.resourceName.equals(other.resourceName)) {
            return false;
        }
        if ((this.requestType == null) ? (other.requestType != null) : !this.requestType.equals(other.requestType)) {
            return false;
        }
        
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        hash = 19 * hash + (this.fieldLabel != null ? this.fieldLabel.hashCode() : 0);
        hash = 19 * hash + (this.resourceName != null ? this.resourceName.hashCode() : 0);
        hash = 19 * hash + (this.requestType != null ? this.requestType.hashCode() : 0);
        return hash;
    }
    
    

    @Override
    public String toString() {
        return "OIMField:" + "resourceName=" + resourceName + ", requestType=" + requestType + ", parentTableName=" + parentTableName + ", childTableName=" + childTableName + ", columnName=" + columnName + ", columnType=" + columnType + ", columnOptional=" + columnOptional + ", fieldLabel=" + fieldLabel;
    }
    
    
    

}
